﻿.form-select:focus {
    box-shadow: none;
}

.form-select:hover,
.form-select:focus {
    border-color: #c0c4cc;
}

.form-select.border-primary:hover {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(102,175,233,.6);
}

.form-select.border-info:hover {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(23, 162, 184, 0.5);
}

.form-select.border-warning:hover {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(255, 193, 7, 0.5);
}

.form-select.border-danger:hover {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5);
}

.form-select.is-valid,
.form-select.is-invalid {
    background-image: none;
}

[data-bs-toggle="lgbSelect"] .dropdown-toggle::after {
    content: none;
}

[data-bs-toggle="lgbSelect"] .form-select {
    background-image: none;
    color: #606266;
    outline: none;
    padding-right: calc(1.5em + 0.75rem);
    cursor: pointer;
}

[data-bs-toggle="lgbSelect"] .dropdown-menu {
    margin-top: 8px !important;
    font-size: inherit;
    cursor: pointer;
}

    [data-bs-toggle="lgbSelect"] .dropdown-menu .dropdown-item.is-disabled {
        color: #c0c4cc;
        cursor: not-allowed;
    }

        [data-bs-toggle="lgbSelect"] .dropdown-menu .dropdown-item.is-disabled:active {
            background-color: #f8f9fa;
        }

[data-bs-toggle="lgbSelect"] .form-select.is-valid:focus,
[data-bs-toggle="lgbSelect"] .was-validated .form-select:valid:focus,
.form-select.border-success:hover {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(40, 167, 69, 0.5);
}

[data-bs-toggle="lgbSelect"] .form-select.is-invalid:focus,
[data-bs-toggle="lgbSelect"] .was-validated .form-select:invalid:focus,
.form-select.border-danger:hover {
    box-shadow: inset 0 1px 1px rgba(0,0,0,.075), 0 0 8px rgba(220, 53, 69, 0.5);
}

.select .dropdown-menu {
    max-height: 274px;
    overflow-x: hidden;
    width: 100%;
}

.dropdown-menu-arrow {
    width: 0;
    height: 0;
    border-width: 0 6px 6px;
    border-style: solid;
    border-color: transparent transparent rgba(0,0,0,.15);
    position: absolute;
    left: 20px;
    margin-top: 4px;
    z-index: 1001;
    display: none;
}

    .dropdown-menu-arrow:after {
        content: " ";
        width: 0;
        height: 0;
        border-width: 0 6px 6px;
        border-style: solid;
        border-color: transparent transparent #fff;
        position: absolute;
        top: 1px;
        left: -6px;
    }

.form-select.show + .form-select-append i {
    transform: rotate(0);
}

.dropdown-menu[data-popper-placement="bottom-start"].show + .dropdown-menu-arrow,
.dropdown-menu[data-bs-popper="none"].show + .dropdown-menu-arrow {
    display: block;
}

.dropdown-menu[data-bs-popper="none"].show + .dropdown-menu-arrow {
    margin-top: 2px;
}

.is-disabled .form-select {
    background-color: #f5f7fa;
    border-color: #e4e7ed;
    color: #c0c4cc;
    cursor: not-allowed;
}

.is-disabled .form-select-append {
    color: #c0c4cc;
}

.form-select-append {
    position: absolute;
    height: 100%;
    width: 30px;
    right: 0;
    top: 0;
    color: #c0c4cc;
    pointer-events: none;
    display: flex;
    align-items: center;
    justify-content: center;
}

    .form-select-append i {
        transition: all .3s;
        transform: rotate(180deg);
    }

.select .search {
    padding: 7px 10px;
    position: relative;
    border-bottom: 1px solid #ddd;
    padding-bottom: 0.625rem;
    margin-bottom: 0.5rem;
}

    .select .search .search-text {
        width: 100%;
        padding-right: 30px;
    }

    .select .search .fa-search {
        position: absolute;
        left: calc(100% - 34px);
        top: 18px;
        color: #adb5bd;
    }

.form-select {
    width: 100%;
}

    .form-select.is-valid:not([multiple]):not([size]),
    .form-select.is-valid:not([multiple])[size="1"],
    .was-validated .form-select:valid:not([multiple]):not([size]),
    .was-validated .form-select:valid:not([multiple])[size="1"],
    .form-select.is-invalid:not([multiple]):not([size]),
    .form-select.is-invalid:not([multiple])[size="1"],
    .was-validated .form-select:invalid:not([multiple]):not([size]),
    .was-validated .form-select:invalid:not([multiple])[size="1"] {
        background-position: right -1rem center, center right 1.5rem;
    }
